import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'

// 设备删除
export const deviceDel = params => deleteAction('/device/delete', params)

// 编辑设备标称值
export const editNominalValue = params => postAction('/device/config/save', params)

// 根据设备编号获取风机信息
export const fanInfo = params => getAction('/device/fan_info', params)

// 根据设备编号获取净化器信息
export const purifyInfo = params => getAction('/device/purify_info', params)

// 根据设备编号获取烟道信息
export const smokeInfo = params => getAction('/device/smoke_info', params)